package com.xiaoshi.forms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xiaoshi.system.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统表单

 * </p>
 *
 * @author yuankai
 * @since 2022-03-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysForms extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 表单名称
     */
    private String name;

    private String jsonStr;

    /**
     * 表达类型
     */
    private String type;

    private String code;

    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;

    private Integer delTag;

    /**
     * 创建人ID
     */
    private Integer createId;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String TYPE = "type";

    public static final String CODE = "code";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_BY = "create_by";

    public static final String UPDATE_TIME = "update_time";

    public static final String UPDATE_BY = "update_by";

    public static final String DEL_TAG = "del_tag";

    public static final String CREATE_ID = "create_id";

}
